package br.com.iswe.ant.utils;

import static org.junit.Assert.assertEquals;

import org.junit.Before;
import org.junit.Test;


public class GWTTaskUtilsTest {

	private String arquivo;

	@Before
	public void setUp() {
		arquivo = "W:\\GPSocial\\workspace\\Common\\ui\\common\\img\\CommonImg.gwt.xml";
	}
	
	@Test
	public void getModuleNameXPPathsRegexp() {
		arquivo = GWTTaskUtils.recuperaNomeModulo(arquivo);
		assertEquals("W:.GPSocial.workspace.Common.ui.common.img.CommonImg", arquivo);
	}
}
